<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>&{'Login_header'}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="sms">

    <!-- javascript
     ================================================== -->
    <script type="text/javascript" src="@{'/public/js/widgets.js'}"></script>

    *{
    <script src="@{'/public/js/jquery-ui.min.js'}"></script>
    }*
    <script src="@{'/public/js/jquery-1.9.1.min.js'}"></script>
    <script src="@{'/public/js/bootstrap.js'}"></script>
    <script src="@{'/public/js/uniform/jquery.uniform.js'}"></script>
    <script src="@{'/public/js/peity/jquery.peity.js'}"></script>

    <script src="@{'/public/js/select2/select2.js'}"></script>
    <script src="@{'/public/js/knob/jquery.knob.js'}"></script>
    <script src="@{'/public/js/flot/jquery.flot.js'}"></script>
    <script src="@{'/public/js/flot/jquery.flot.resize.js'}"></script>
    <script src="@{'/public/js/flot/jquery.flot.categories.js'}"></script>
    <script src="@{'/public/js/wysihtml5/wysihtml5-0.3.0.js'}"></script>
    <script src="@{'/public/js/wysihtml5/bootstrap-wysihtml5.js'}"></script>
    <script src="@{'/public/js/calendar/fullcalendar.js'}"></script>
    <!-- this plugin required jquery ui-->

    <!-- required sms template js, for full feature-->
    <script src="@{'/public/js/holder.js'}"></script>
    <script src="@{'/public/js/sms-base.js'}"></script>

    <script src="@{'/public/js/jquery-ui.min.js'}"></script>
    <script src="@{'public/js/html5.js'}"></script>

    <!-- google font -->
    <link href="@{'/public/css/googlefont.css'}" rel="stylesheet" type="text/css"/>

    <!-- styles -->
    <link href="@{'/public/css/bootstrap.css'}" rel="stylesheet">
    <link href="@{'/public/css/bootstrap-responsive.css'}" rel="stylesheet">
    <link href="@{'/public/css/sms.css'}" rel="stylesheet">
    <link href="@{'/public/css/sms-responsive.css'}" rel="stylesheet">
    <link href="@{'/public/css/sms-helper.css'}" rel="stylesheet">
    <link href="@{'/public/css/sms-icon.css'}" rel="stylesheet">
    <link href="@{'/public/css/font-awesome.css'}" rel="stylesheet">
    <link href="@{'/public/css/animate.css'}" rel="stylesheet">
    <link href="@{'/public/css/uniform.default.css'}" rel="stylesheet">

    <link href="@{'/public/css/select2.css'}" rel="stylesheet">
    <link href="@{'/public/css/fullcalendar.css'}" rel="stylesheet">
    <link href="@{'/public/css/bootstrap-wysihtml5.css'}" rel="stylesheet">

    <link href="@{'/public/css/jquery-ui.css'}" rel="stylesheet"/>

</head>

<body>
<script>
    function changeLang(language) {
    $.post("/changelang/", { lang: language },
    function (data) {
    location.reload();
    }
    );
    }
</script>
<!-- section header -->
<header class="header" data-spy="affix" data-offset-top="0">
    <!--nav bar helper-->
    <div class="navbar-helper">
        <div class="row-fluid">
            <!--panel site-name-->
            <div class="span2">
                <div class="panel-sitename">
                    <h2><a href="index.html"><span class="color-teal" style="float:left;">SMS</span>&alpha;</a>

                    </h2>
                </div>
            </div>
            <span class='btn-group' style="float: right; padding-right:15px; padding-top:8px; align:right;">
                            <a href="#" onclick="changeLang('ru')"><img src="@{'/public/img/ru.png'}"/></a>
                            <a href="#" onclick="changeLang('en')"><img src="@{'/public/img/gb.png'}"/></a>
                        </span>
            <!--/panel name-->
        </div>
    </div>
    <!--/nav bar helper-->
</header>

<!-- section content -->
<section class="section">
    <div class="container">
        <div class="signin-form row-fluid">
            <!--Sign In-->
            <div class="span5 offset1">
                <div class="box corner-all">
                    <div class="box-header grd-teal color-white corner-top">
                        <span>&{'Login_sign_in'}</span>
                    </div>
                    <div class="box-body bg-white">
                        <form id="sign-in" method="post" action="@{Application.authenticate}">
                            <div class="control-group">
                                <label class="control-label">Open ID</label>

                                <div class="controls">
                                    <input type="text" class="input-block-level" name="user" id="login_username"/>
                                </div>
                            </div>

                            <div class="form-actions">
                                <input type="submit" class="btn btn-block btn-large btn-primary"
                                       value="&{'Login_sign_into'}"/>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <!--/Sign In-->

        </div>
        <!-- /row -->
    </div>
    <!-- /container -->

</section>


</body>
</html>
